fromMap static method

CustomStyleOptions? fromMap(
  1. dynamic json
)

Implementation

static CustomStyleOptions? fromMap(dynamic json) {
  if (json == null) {
    return null;
  }
  return CustomStyleOptions(
    json['enabled'] ?? false,
    styleData: json['styleData'] ?? null,
    styleExtraData: json['styleExtraData'] ?? null,
  );
}