fromMap method

  1. @override
dynamic fromMap (
  1. Map map
)
override

map -> dynamic

Implementation

@override
fromMap(Map map) {
  if (null == map) {
    return null;
  }
  return new BMFTypeFace(
      familyName: map['familyName'],
      textStype: BMFTextStyle.values[map['textStype'] as int]);
}