Group.fromJson constructor

Group.fromJson(
  1. Map<String, Object?> json
)

Implementation

factory Group.fromJson(Map<String, Object?> json) {
  return Group(
    expand: json[r'expand'] as String?,
    groupId: json[r'groupId'] as String?,
    name: json[r'name'] as String?,
    self: json[r'self'] as String?,
    users: json[r'users'] != null
        ? PagedListUserDetailsApplicationUser.fromJson(
            json[r'users']! as Map<String, Object?>)
        : null,
  );
}