FileGroupSettings.fromJson constructor

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

Implementation

factory FileGroupSettings.fromJson(Map<String, dynamic> json) {
  return FileGroupSettings(
    destination: json['destination'] as String?,
    destinationSettings: json['destinationSettings'] != null
        ? DestinationSettings.fromJson(
            json['destinationSettings'] as Map<String, dynamic>)
        : null,
  );
}