toJson method

  1. @override
Object? toJson(
  1. IconTokenValue value
)

Implementation

@override
Object? toJson(IconTokenValue value) {
  return {
    'size': const SizeConverter().toJson(value.size),
    'offset': const OffsetConverter().toJson(value.offset),
    'paths': [
      ...value.paths.map((e) => e.toJson()),
    ],
  };
}