Input$OSLogoPngInput.fromJson constructor

Input$OSLogoPngInput.fromJson(
  1. Map<String, dynamic> data
)

Implementation

factory Input$OSLogoPngInput.fromJson(Map<String, dynamic> data) {
  final result$data = <String, dynamic>{};
  if (data.containsKey('default')) {
    final l$$default = data['default'];
    result$data['default'] = l$$default == null
        ? null
        : Input$PictureInput.fromJson((l$$default as Map<String, dynamic>));
  }
  if (data.containsKey('size16')) {
    final l$size16 = data['size16'];
    result$data['size16'] = l$size16 == null
        ? null
        : Input$PictureInput.fromJson((l$size16 as Map<String, dynamic>));
  }
  if (data.containsKey('size24')) {
    final l$size24 = data['size24'];
    result$data['size24'] = l$size24 == null
        ? null
        : Input$PictureInput.fromJson((l$size24 as Map<String, dynamic>));
  }
  if (data.containsKey('size32')) {
    final l$size32 = data['size32'];
    result$data['size32'] = l$size32 == null
        ? null
        : Input$PictureInput.fromJson((l$size32 as Map<String, dynamic>));
  }
  if (data.containsKey('size48')) {
    final l$size48 = data['size48'];
    result$data['size48'] = l$size48 == null
        ? null
        : Input$PictureInput.fromJson((l$size48 as Map<String, dynamic>));
  }
  if (data.containsKey('size64')) {
    final l$size64 = data['size64'];
    result$data['size64'] = l$size64 == null
        ? null
        : Input$PictureInput.fromJson((l$size64 as Map<String, dynamic>));
  }
  if (data.containsKey('size128')) {
    final l$size128 = data['size128'];
    result$data['size128'] = l$size128 == null
        ? null
        : Input$PictureInput.fromJson((l$size128 as Map<String, dynamic>));
  }
  return Input$OSLogoPngInput._(result$data);
}