DetailsMap.fromJson constructor

DetailsMap.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory DetailsMap.fromJson(Map<String, dynamic> json) {
  return DetailsMap(
    resourceShare: (json['ResourceShare'] as List?)
        ?.whereNotNull()
        .map((e) => e as String)
        .toList(),
  );
}