fromJson static method

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

Implementation

static ThemeImage? fromJson(Map<String, dynamic>? json) {
  if (json == null) return null;

  return ThemeImage(
    animated: ImageUrls.fromJson(json['animated']),
    static: ImageUrls.fromJson(json['static']),
  );
}