LocalDeviceResourceData.fromJson constructor

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

Implementation

factory LocalDeviceResourceData.fromJson(Map<String, dynamic> json) {
  return LocalDeviceResourceData(
    groupOwnerSetting: json['GroupOwnerSetting'] != null
        ? GroupOwnerSetting.fromJson(
            json['GroupOwnerSetting'] as Map<String, dynamic>)
        : null,
    sourcePath: json['SourcePath'] as String?,
  );
}