fromJson static method

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

Implementation

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

  return BackgroundFillSolid(color: (json['color'] as int?) ?? 0);
}