create static method

Future<UIEdgeInsets> create(
  1. double top,
  2. double left,
  3. double bottom,
  4. double right
)

Implementation

static Future<UIEdgeInsets> create(
  double top,
  double left,
  double bottom,
  double right,
) async {
  final result =
      await kMethodChannel.invokeMethod<Ref>('UIEdgeInsets::create', {
    'top': top,
    'left': left,
    'bottom': bottom,
    'right': right,
  });
  return UIEdgeInsets()..refId = result?.refId;
}