IrTextStyleToken.fromJson constructor

IrTextStyleToken.fromJson(
  1. Map<String, Object?> json
)

Implementation

factory IrTextStyleToken.fromJson(Map<String, Object?> json) =>
    IrTextStyleToken(
      json['name'] as String,
      IrTextStyle.fromJson({...json, 'color': '#000000'}),
    );