CustomFieldContextDefaultValueMultiUserPicker.fromJson constructor

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

Implementation

factory CustomFieldContextDefaultValueMultiUserPicker.fromJson(
    Map<String, Object?> json) {
  return CustomFieldContextDefaultValueMultiUserPicker(
    accountIds: (json[r'accountIds'] as List<Object?>?)
            ?.map((i) => i as String? ?? '')
            .toList() ??
        [],
    contextId: json[r'contextId'] as String? ?? '',
    type: json[r'type'] as String? ?? '',
  );
}