fromJson static method

BannerAdSize fromJson(
  1. Map args
)

Implementation

static BannerAdSize fromJson(Map<dynamic, dynamic> args) {
  return BannerAdSize(
    width: args['width'] ?? 0,
    height: args['height'] ?? 0,
  );
}